<div id="detail_pt" class="modal fade" tabindex="-1" role="dialog">
	<div class="modal-dialog">
		<div class="modal-content">
			<form class="form-horizontal" role="form">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"> x </button>
				<h4 class="blue bigger">{$memo}</h4>
			</div>
			<div class="modal-body">
				<div class="row">
					<div class="col-xs-12">
							<div class="form-group">
								<label class="col-sm-2 control-label no-padding-right" for="pt_name"> 平台名称 </label>
								<div class="col-sm-9">
									<input type="text" id="pt_name" value="{$pt['name']}" class="form-control" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label no-padding-right" for="pt_addr"> 平台地点 </label>
								<div class="col-sm-9">
									<input type="text" id="pt_addr" value="{$pt['addr']}" class="form-control" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label no-padding-right" for="pt_url"> 平台URL </label>
								<div class="col-sm-9">
									<input type="text" id="pt_url" value="{$pt['url']}" class="form-control" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label no-padding-right" for="pt_level"> 风险等级 </label>
								<div class="col-sm-9">
									<select id="pt_level" class="form-control">
										<if condition="$ptid eq 0">
											<option value="" selected="selected">请选择</option>
											<option value="0">AAA</option>
											<option value="1">AA</option>
											<option value="2">A</option>
											<option value="3">BBB</option>
											<option value="4">BB</option>
											<option value="5">B</option>
											<option value="6">CCC</option>
											<option value="7">CC</option>
											<option value="8">C</option>
										<else />
											<option value="">请选择</option>
											<option value="0" <if condition="($pt['level'] eq 0)">selected="selected"</if>>AAA</option>
											<option value="1" <if condition="($pt['level'] eq 1)">selected="selected"</if>>AA</option>
											<option value="2" <if condition="($pt['level'] eq 2)">selected="selected"</if>>A</option>
											<option value="3" <if condition="($pt['level'] eq 3)">selected="selected"</if>>BBB</option>
											<option value="4" <if condition="($pt['level'] eq 4)">selected="selected"</if>>BB</option>
											<option value="5" <if condition="($pt['level'] eq 5)">selected="selected"</if>>B</option>
											<option value="6" <if condition="($pt['level'] eq 6)">selected="selected"</if>>CCC</option>
											<option value="7" <if condition="($pt['level'] eq 7)">selected="selected"</if>>CC</option>
											<option value="8" <if condition="($pt['level'] eq 8)">selected="selected"</if>>C</option>
										</if>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label no-padding-right" for="pt_level"> 初始状态 </label>
								<div class="col-sm-9">
									<select id="pt_status" class="form-control">
										<if condition="$ptid eq 0">
											<option value="" selected="selected">请选择</option>
											<option value="0">禁用</option>
											<option value="1">启用</option>
										<else />
											<option value="">请选择</option>
											<option value="0" <if condition="($pt['is_active'] eq 0)">selected="selected"</if>>禁用</option>
											<option value="1" <if condition="($pt['is_active'] eq 1)">selected="selected"</if>>启用</option>
										</if>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label no-padding-right" for="pt_logo"> 平台LOGO </label>
								<div class="col-sm-9">
									<input type="file" id="pt_logo" />
								</div>
							</div>
					</div>
				</div>
			</div>
	
			<div class="modal-footer">
				<button class="btn btn-sm" data-dismiss="modal">
					<i class="ace-icon fa fa-times"></i>
					取消											
				</button>
				<button class="btn btn-sm btn-primary" id="doupdatept" onClick="do_update_pt({$ptid});">
					<i class="ace-icon fa fa-check"></i>
					保存										
				</button>
			</div></form>
		</div>
	</div>
</div>